GoDiagram Win Reference
AddNodesAndLinksFromCollection Method

If true, only those objects that implement Northwoods.Go.IGoNode will get GoLayoutGenericNetwork.Node<N,L,Y>s created for them. If false, each (non-link) object in the collection will be represented by a GoLayoutGenericNetwork.Node<N,L,Y>. If you want the layout to ignore groups such as Northwoods.Go.GoComments in your graph, provide a value of true here.
Adds the objects in an IGoCollection to the network.
Syntax
'Declaration
 
Public Overridable Sub AddNodesAndLinksFromCollection( _
   ByVal collection As IGoCollection, _
   ByVal onlytruenodes As Boolean _
) 
public virtual void AddNodesAndLinksFromCollection( 
   IGoCollection collection,
   bool onlytruenodes
)

Parameters

collection
onlytruenodes
If true, only those objects that implement Northwoods.Go.IGoNode will get GoLayoutGenericNetwork.Node<N,L,Y>s created for them. If false, each (non-link) object in the collection will be represented by a GoLayoutGenericNetwork.Node<N,L,Y>. If you want the layout to ignore groups such as Northwoods.Go.GoComments in your graph, provide a value of true here.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutGenericNetwork<N,L,Y> Class
GoLayoutGenericNetwork<N,L,Y> Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback